<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
<title>Sprites</title>
<link rel="stylesheet" href="doc.css" type="text/css" />
</head>
<body>
<div class="document">
<div class="navigation navigation-header container">
<span class="previous">Previous: <a class="reference" href="layers.html" title="Layers">Layers</a></span><span class="next">Next: <a class="reference" href="events.html" title="Events">Events</a></span><span class="breadcrumbs"><a class="reference" href="index.html" title="Programming Guide">Programming Guide</a> » <a class="reference" href="basic_concepts.html" title="Basic Concepts">Basic Concepts</a> » Sprites</span></div>
<h1 class="title">Sprites</h1>

<p>A cocos2d' sprite is like any other computer sprite.
It is a 2D image that can be moved, rotated, scaled, animated, etc.</p>
<p>Sprites (implemented using the <a class="reference apilink" href="../api/cocos.sprite.Sprite-class.html " title="cocos.sprite.Sprite">Sprite</a> class) can have other sprites
as children. When a parent is transformed, all its children are transformed as well.</p>
<p>Since sprites are subclass of <a class="reference apilink" href="../api/cocos.cocosnode.CocosNode-class.html " title="cocos.cocosnode.CocosNode">CocosNode</a>, they can be transformed manually
or by using actions.
See <cite>Actions, Transformations and Effects</cite> for more detail about actions.</p>
<div class="navigation navigation-footer container">
<span class="previous">Previous: <a class="reference" href="layers.html" title="Layers">Layers</a></span><span class="next">Next: <a class="reference" href="events.html" title="Events">Events</a></span><span class="breadcrumbs"><a class="reference" href="index.html" title="Programming Guide">Programming Guide</a> » <a class="reference" href="basic_concepts.html" title="Basic Concepts">Basic Concepts</a> » Sprites</span></div>
</div>
</body>
</html>
